package com.example.model.dto;

import io.swagger.annotations.ApiModelProperty;
import java.net.URL;
import java.util.Date;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;

/**
 * <p>
 * 社团成员信息管理
 * </p>
 * @author 34448
 */
@Data
public class ClubMemberDTO {

    @NotNull(message = "成员ID不能为空")
    @ApiModelProperty(value = "成员ID")
    private Integer memberId;

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotNull(message = "姓名不能为空")
    @Size(max = 255, message = "姓名长度不能超过255")
    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "出生日期")
    private Date birthDate;

    @Size(max = 255, message = "专业长度不能超过255")
    @ApiModelProperty(value = "专业")
    private String major;

    @Size(max = 50, message = "年级长度不能超过50")
    @ApiModelProperty(value = "年级")
    private String grade;

    @Size(max = 20, message = "电话号码长度不能超过20")
    @ApiModelProperty(value = "电话号码")
    private String phoneNumber;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "照片URL")
    private String photoUrl;

    @ApiModelProperty(value = "证书URL")
    private String certificateUrl;
}